package org.liang.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.liang.base.mapper.BaseMapper;
import org.liang.base.utils.PageInfo;
import org.liang.system.domain.Department;
import org.liang.system.query.DepartmentQuery;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    //查询部门子集
    List<Department> deptTree();
    //多级查询
    List<Department> deptTreeTh();
}
